home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 3014 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  955 b 

  1. Path: oxy.rust.net!usenet
  2. From: ebennett@rust.net
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Template Library as DOS *.lib
  5. Date: Sun, 21 Jan 1996 19:49:43 GMT
  6. Organization: Rust Net - High Speed Internet in Detroit  810-642-2276
  7. Message-ID: <4dtqq5$sl2@oxy.rust.net>
  8. References: <DLHpEJ.56p@latcs1.lat.oz.au>
  9. NNTP-Posting-Host: liv-11.rust.net
  10. X-Newsreader: Forte Free Agent 1.0.82
  11.  
  12. charan@latcs1.lat.oz.au (Software Access) wrote:
  13.  
  14. >Hi C++ Programmer.
  15. >    I have made a template which i compile into a static library for
  16. >    an exe.
  17. >    Using Borland's IDE.We'll i then create and instance of the library
  18. >    say PGI<int> *pgi;
  19. >    And try and link with the created library.
  20. >    Say pgilib.lib,which is supposed to be the library of the template
  21. >    PGI!.
  22. >    But when i compile it and link,the linker says "PGI<int>() and
  23. >    ~PGI<int>() not known.
  24.  
  25. Borlands provides the compiler -Jg switches to handle this situation.
  26. Check these out in the BC++ Programmers Guide.
  27.  
  28. Earl
  29.  
  30.  
  31.